package com.nami.ucenter.application.convertor;

import com.nami.ucenter.domain.model.LogoutModel;
import com.nami.ucenter.facade.timeout.request.UserTimeoutCmd;

public class UserTimeoutCmd2LogoutModelAssembler {

    public static LogoutModel toModel(UserTimeoutCmd cmd) {
        LogoutModel model = new LogoutModel();
        model.setInstanceId(cmd.getInstanceId());
        model.setUserId(cmd.getUserId());
        model.setAppKey(cmd.getAppKey());
        return model;
    }

}
